//package com.corpgovernment.organization.controller.data;
//
//import com.corpgovernment.common.base.JSONResult;
//import com.corpgovernment.organization.service.OrgDataHandler;
//import lombok.AllArgsConstructor;
//import org.springframework.web.bind.annotation.PostMapping;
//import org.springframework.web.bind.annotation.RequestBody;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RestController;
//
//import java.util.HashMap;
//import java.util.List;
//import java.util.Map;
//
///**
// * @ClassName: OrgDataController
// * @description: TODO
// * @author: zdwang
// * @date: Created in 17:32 2019/7/19
// * @Version: 1.0
// **/
//@RestController
//@RequestMapping("/orgData")
//@AllArgsConstructor
//public class OrgDataController {
//    private final OrgDataHandler dataHandler;
//
//    @PostMapping("/pullCompanys")
//    public JSONResult pullCompanys() {
//        dataHandler.pullAllCompanys();
//        return JSONResult.ok();
//    }
//
//    @PostMapping("/pullLeafCompanys")
//    public JSONResult pullLeafCompanys() {
//        dataHandler.pullLeafCompanys();
//        return JSONResult.ok();
//    }
//
//    @PostMapping("/pullOrgUsersByDepartment")
//    public JSONResult pullOrgUsersByDepartment() {
//        dataHandler.pullOrgUsersByDepartment();
//        return JSONResult.ok();
//    }
//}